Repository navigation
fix(ci): include cluster suites in e2e matrix - #7552
Merged
Merged
Conversation
Aias00
approved these changes
Oct 12, 2026
Aias00
left a comment
Contributor
There was a problem hiding this comment.
Review: include cluster suites in e2e matrix
Approving. CI-only change that wires the cluster e2e suites (e2e-cluster-jdbc-compose, e2e-cluster-zookeeper-compose) into the test matrix so cluster-code changes actually get validated.
What I verified:
.github/scripts/resolve-test-case-matrix.sh(the resolver):add_e2e_all()now registers both cluster composes;map_direct_case_pathadds them for theshenyu-e2e-case-cluster/*tree;map_domain_pathadds them for any*cluster*|*Cluster*path whenmode == e2e; and the finale2e_matrixjq builder maps both compose names tocase: "shenyu-e2e-case-cluster"withexample_projects: ":shenyu-examples-http"..github/scripts/resolve-test-case-matrix-test.sh(the resolver's own test): addsE2E_CLUSTERandCLUSTER_SERVICEpath constants, definesCLUSTER_E2E_MATRIX, anALL_E2E_MATRIX(admin-register matrix extended with rocketmq + both cluster suites), andCLUSTER_SERVICE_E2E_MATRIX(cluster suites + all non-cluster suites, de-duplicated viaselect(.case != "shenyu-e2e-case-cluster")). It then assertsassert_ci_ignoredfor the cluster path andassert_file_outputfor both new matrices, and replaces the oldpom.xmlassertion to useALL_E2E_MATRIX(behavior-preserving superset of the prior rocketmq-only expectation).- The jq expressions are valid (
--argjsonfor both matrices;+=andmap(select(...))both well-formed) and theCLUSTER_SERVICE_E2E_MATRIXcorrectly avoids double-scheduling the cluster case.
Tests: the script's self-test (resolve-test-case-matrix-test.sh) exercises every new assertion and is part of the changes / matrix CI jobs, which are green.
Non-blocking suggestion: map_domain_path uses a case-sensitive *cluster* glob; if any future cluster path uses e.g. ClusterForward vs clusterForward the *Cluster* arm covers the camelCase variant, so both are handled — good. No change needed.
Merging.
2 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
The CI case resolver omitted the existing cluster E2E module, so cluster-specific and full E2E runs did not schedule its JDBC or ZooKeeper suites.
Changes
shenyu-e2e-case-clusterand the HTTP example project.The SOFA suite mentioned in the original issue was removed from this repository by #7494, so no SOFA matrix entry is added against the current
master.Verification
PATH="/opt/homebrew/bin:$PATH" BASH_COMPAT=5.2 /opt/homebrew/bin/bash .github/scripts/resolve-test-case-matrix-test.shbash -n .github/scripts/resolve-test-case-matrix.shbash -n .github/scripts/resolve-test-case-matrix-test.shgit diff --checkFixes #7478